package main

import (
	"strconv"
	"zy/config"
	"zy/inits"
	"zy/internal/dao"
	"zy/internal/model"
)

func main() {
	config.GetViperData()
	inits.InitMysql()
	for i := 0; i < 500; i++ {

		dao.Create(&model.Exam{

			ExamTitle:   strconv.Itoa(1),
			ExamType:    1,
			Keywords:    strconv.Itoa(1),
			Difficulty:  1,
			MajorOne:    strconv.Itoa(1),
			MajorTwo:    strconv.Itoa(1),
			Author:      strconv.Itoa(1),
			Name:        strconv.Itoa(1),
			CTimes:      strconv.Itoa(1),
			Reviewer:    strconv.Itoa(1),
			AuditStatus: 1,
			ScopeUse:    1,
		})

	}

}
